<template>
  <div @click="backTop" class="backTop"></div>
</template>

<script>
export default {
  name: "BackToop",
  setup(props,content) {
   
    return {
      backTop:()=>{
        content.emit('bTop')
      }
    }
  }
};
</script>

<style scoped>
.backTop {
  width: 60px;
  height: 60px;
  position: fixed;
  bottom: 80px;
  right: 30px;
  z-index: 20px;
  background: url("~assets/image/angle-up.png") no-repeat center center;
  box-shadow: 5px 5px 5px #888888;
  border-radius: 50%;
}
</style>